package com.sxfq.loansupermarket.backsystem.modular.IntegralMall.service;

import com.aliyuncs.exceptions.ClientException;
import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.IntegralMall.entity.*;
import com.sxfq.loansupermarket.backsystem.modular.arrival.entity.CustomerInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.VipLevelInfo;
import com.sxfq.loansupermarket.backsystem.modular.doctorLooked.entity.CaseInfo;
import com.sxfq.loansupermarket.backsystem.modular.weixin.entity.SatisfactionSurvey;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author py
 * @Date 2019年2月19日23:15:54
 */
public interface IntegralMallLoginService {
    int generateQrCode(String id, String code);

    int satisfactionSurveyAdd(SatisfactionSurvey ss);

    int activityLevelAdd(String openId, String score, String id);

    void checkToken(HttpServletRequest request, HttpServletResponse response);

    Map<String, String> createMembersUser(HttpServletRequest request, HttpServletResponse response) throws Exception;

    String getAccessToken();

    com.alibaba.fastjson.JSONObject getMedia_list();

    String getPermanent_media_url();

    int loginTo(String userName);

    MembersUser getPersonalCenter(String code);

    MembersUser getActivityLevel(String code);

    int shareEarnPoints(String code);

    MembersUser getScoreShopping(String code,String area);

    String verificationCode(String pid, String reservationsId, String verificationCode, String code);

    String codeNumber(String code, String codeValue, String id);

    Integer signInScore(String reservationsId);

    List<PointRewordInfo> PointRewordInfototal(String startCreateTime, String endCreateTime);

    List<CustomerInfo> getMedicalRecordsInfo(String code);

    String getJsapi_ticket();

    Map<String, String> getJsapiSign(String url);

    MemberRecommendationInfo getMemberRecommendation(String code);

    int sureRecommendation(String recommendationName, String recommendationPhone);

    String getBackIntegral(String id, String reservationId);

    MembersUser getMembershipCard(String membersNum, String phone);

    int codeSend(String code, String codeValues, String openId, String customerPhone);

    String getConversion(String id, String reservationsId) throws ClientException, InterruptedException;

    int getCode(String customerPhone) throws ClientException, InterruptedException;

    List<CaseInfo> getCaseDetails(String code);
}